/*
 *  Copyright (c) 2017-2019, bruce.ge.
 *    This program is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU General Public License
 *    as published by the Free Software Foundation; version 2 of
 *    the License.
 *    This program is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 *    GNU General Public License for more details.
 *    You should have received a copy of the GNU General Public License
 *    along with this program;
 */

package com.ideaaedi.plugin.fastcoding.model;

import com.intellij.psi.PsiMethod;

import java.util.List;
import java.util.Map;

/**
 * getter信息
 *
 * @author JustryDeng
 * @since 2022/4/20 13:09
 */
public class GetterInfo {
    
    /**
     * 局部变量 名称
     */
    private String localVarName;
    
    /**
     * localVarName对应类的所有getter方法
     */
    private List<PsiMethod> getterMethodList;
    
    /**
     * localVarName对应类中的字段名与字段getter方法映射
     */
    private Map<String, PsiMethod> fieldGetterMap;
    
    
    public Map<String, PsiMethod> getFieldGetterMap() {
        return fieldGetterMap;
    }
    
    public void setFieldGetterMap(Map<String, PsiMethod> fieldGetterMap) {
        this.fieldGetterMap = fieldGetterMap;
    }
    
    public String getLocalVarName() {
        return localVarName;
    }
    
    public void setLocalVarName(String localVarName) {
        this.localVarName = localVarName;
    }
    
    public List<PsiMethod> getGetterMethodList() {
        return getterMethodList;
    }
    
    public void setGetterMethodList(List<PsiMethod> getterMethodList) {
        this.getterMethodList = getterMethodList;
    }
}
